<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Creating Phar Archives: Introduction</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="phar.creating.html">« Creating Phar Archives</a></li>
      <li style="float: right;"><a href="phar.fileformat.html">What makes a phar a phar and not a tar or a zip? »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="phar.creating.html">Creating Phar Archives</a></li>
    <li>Creating Phar Archives: Introduction</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="phar.creating.intro" class="section">
 <h2 class="title">Creating Phar Archives: Introduction</h2>
 <p class="para">
  To be written fully in the near future.  Before reading this, be sure to read
  <a href="phar.using.html" class="link">How to use Phar Archives</a>.
 </p>
 <p class="para">
  A great place to start is by reading about <span class="function"><a href="phar.buildfromiterator.html" class="function">Phar::buildFromIterator()</a></span>,
  and the specifics of the <a href="phar.fileformat.html" class="link">file format</a> choices
  available for archives.  A healthy understanding of what a stub is and does is crucial
  to phar archive creation, and so <span class="function"><a href="phar.setstub.html" class="function">Phar::setStub()</a></span> and
  <span class="function"><a href="phar.createdefaultstub.html" class="function">Phar::createDefaultStub()</a></span> are good places to start as well.
  If you are distributing a web-based application, it is crucial to know about
  <span class="function"><a href="phar.webphar.html" class="function">Phar::webPhar()</a></span> and related method
  <span class="function"><a href="phar.mungserver.html" class="function">Phar::mungServer()</a></span>.  Any application that accesses
  its own files should also consider using <span class="function"><a href="phar.interceptfilefuncs.html" class="function">Phar::interceptFileFuncs()</a></span>.
 </p>
</div></div></div></body></html>